function HandlePageB1AsstWorks(gui, operator, now, options) {
  this._gui = gui;
  this._operator = operator;
  this._now = now;
  this._options = options;
  
  
  this._createElements();
};

HandlePageB1AsstWorks.prototype._createElements = function() {
  var smryGui = GuiSmryAsst.instance();
  if (smryGui.jobs) {
    this._query = DlmanageUtils.asstTasks + ' OR ' + '(' + DlmanageUtils.ownerWorks + ' AND (d.ownerTrackId = \'' + this._operator.trackId + '\'))' + ' OR (' + DlmanageUtils.assigneeWorks + ' AND (d.user_trackId = \'' + this._operator.trackId + '\'))';
  } else {
    this._query = DlmanageUtils.asstTasks;
  }
  var smryArgs = DlmanageUtils.asstSmryArgs(smryGui, this._operator);
  var manager = (this._operator.type == '{{$smarty.const.USER_TYPE_MANAGER|escape:javascript}}') ? true : false;
  var supervise = (this._operator.type == '{{$smarty.const.USER_TYPE_MANAGER_ASSISTANT|escape:javascript}}') ? 0 : 1;
  var gui = GuiProduces.instance(this._gui.customerNo, this._gui.task, this._gui.search, this._gui.updated, this._gui.pages, this._gui.tasks);
  new HandleProduces(gui, null, { operator: this._operator, now: this._now, query: this._query, smryGui: smryGui, smryArgs: smryArgs, a: this._options.a, s: supervise, manager: manager });
};